package testpro;

import common.web.WebsBase;
import org.openqa.selenium.By;

public class web extends WebsBase {
    public static void main(String[] args) throws InterruptedException {
        isProxy=false;
        setBrowser(Browser.Chrome,setProxy("175.43.106.121:808"));
        openUrl("http://www.baidu.com");
        sendKey(By.id("kw"),"ip");
        click(By.id("su"));
        Thread.sleep(10000);
        System.out.println(BrowserUtil.getCookie("PSINO").getValue());
        BrowserUtil.close();
    }
}
